// MotionCtrCardManager.h: interface for the CMotionCtrCardManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MOTIONCTRCARDMANAGER_H__42FB3452_F4C0_493F_B22D_9A4DEB102444__INCLUDED_)
#define AFX_MOTIONCTRCARDMANAGER_H__42FB3452_F4C0_493F_B22D_9A4DEB102444__INCLUDED_

class CMotionControlCard;
class CWGailiMotionControl;
class CWPmacMotionControl;

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class AFX_EXT_CLASS CMotionCtrCardManager  
{
public:
	CMotionCtrCardManager();
	virtual ~CMotionCtrCardManager();

public:
	static CMotionControlCard *GetGailiMotionCtrCard(void);
	static CMotionControlCard *GetPmacMotionCtrCard(void);
	static void FreeMotionCtrCard(void);

private:
	static CWGailiMotionControl *m_pGailiMontionCtrCard;
	static CWPmacMotionControl  *m_pPmacMotionCtrCard;
};

#endif // !defined(AFX_MOTIONCTRCARDMANAGER_H__42FB3452_F4C0_493F_B22D_9A4DEB102444__INCLUDED_)
